<template>
	<view id='paymen_container'>
		
	</view>
</template>


<script setup>
import { ref, onMounted } from 'vue';

const paymentPageUrl = ref('');

onMounted(() => {
  const eventChannel = getEventChannel();
  eventChannel.on('sendPaymentForm', ({ html }) => {
    // 将HTML转换为Data URL
    const blob = new Blob([html], {type: 'text/html'});
    paymentPageUrl.value = URL.createObjectURL(blob);
  });
});

function handleMessage(e) {
  uni.navigateBack();
}
</script> 


<style lang ='scss' scoped>


</style>